package a.f.j.a;

import a.c.d;
import a.c.q;
import a.c.z;

import java.util.Iterator;

class k
  extends i
{
  private a.c.e b = null;
  private int c = -1;
  private int d = 2147483647;
  private int e = 2147483647;
  private h f = new h();
  private z h;
  private e i;
  private z j = new z();
  private z k = new z();
  private z l = null;
  
  k(a.c.e parame, int paramInt, e parame1)
  {
    this.b = parame;
    this.c = paramInt;
    this.e = paramInt;
    this.d = paramInt;
    this.i = parame1;
  }
  
  public String toString()
  {
    if (!c.i) {
      if (this.a != null) {
        return Integer.toString(j()) + ": " + this.a.toString();
      }
    }
    return Integer.toString(j());
  }
  
  String a()
  {
    return Integer.toString(j());
  }
  
  k l()
  {
    return this;
  }
  
  b a(j paramj)
  {
    return this.f.a(paramj);
  }
  
  b b(j paramj)
  {
    return this.f.b(paramj);
  }
  
  h b()
  {
    return this.f;
  }
  
  z h()
  {
    return this.j;
  }
  
  e a(j paramj, int paramInt1, int paramInt2)
  {
    boolean bool2 = c.i;
    boolean bool1 = c.h;
    e locale1 = paramj.a(paramInt1);
    if (!bool2) {
      if (locale1 == null) {
        System.out.println("Error!");
      }
    }
    i locali1 = locale1.a(paramj);
    int m = locali1.a(locale1, paramInt1 ^ 0x1);
    e locale2 = a(paramInt2);
    i locali2 = locale2.a(this);
    e locale3 = locali2.g();
    int n = locali2.a(locale2, paramInt2 ^ 0x1);
    e locale4 = c.b(locali1, locali2, m, n, locale1.m() + locale2.m());
    if (!bool2)
    {
      if (locale3 != null)
      {
        if (!bool2) {
          if (n == 0)
          {
            locali2.c(locale3);
            if (bool2) {
              break label194;
            }
            if (!bool1) {
              break label189;
            }
            if (!bool2) {}
            q.n = !q.n;
          }
        }
        if (bool2) {
          break label200;
        }
        if (n == 1) {
          locali2.b(locale3);
        }
      }
      label189:
      paramj.m();
    }
    label194:
    if (!bool2) {
      if (paramInt1 == paramInt2) {
        label200:
        paramj.h();
      }
    }
    if (!bool2)
    {
      if (paramInt2 == 0)
      {
        if (bool2) {
          break label245;
        }
        this.a.b(paramj.d());
      }
    }
    else {
      if (!bool1) {
        break label248;
      }
    }
    label245:
    this.a.a(paramj.d());
    label248:
    if (bool2) {
      q.o = !q.o;
    }
    return locale4;
  }
  
  void c(j paramj)
  {
    if (!c.i) {
      if (this.h == null) {
        this.h = new z();
      }
    }
    this.h.add(paramj);
  }
  
  void m()
  {
    boolean bool2 = c.i;
    boolean bool1 = c.h;
    if ((bool2) || (this.h != null))
    {
      Iterator localIterator = this.h.iterator();
      do
      {
        if (!localIterator.hasNext()) {
          break;
        }
        j localj = (j)localIterator.next();
        this.a.a(localj.d());
        localj.m();
      } while (!bool1);
    }
  }
  
  z n()
  {
    return this.h;
  }
  
  int j()
  {
    return this.c;
  }
  
  void a(int paramInt, e parame)
  {
    this.c = paramInt;
    this.d = paramInt;
    this.e = paramInt;
    this.i = parame;
  }
  
  a.c.e o()
  {
    return this.b;
  }
  
  e q()
  {
    return this.i;
  }
  
  int r()
  {
    if (!c.i) {
      if (this.i == null) {
        return -1;
      }
    }
    return this.i.a(this).j();
  }
  
  void b(int paramInt)
  {
    this.d = Math.min(this.d, paramInt);
    this.e = Math.min(this.d, this.e);
  }
  
  void d(int paramInt)
  {
    this.e = Math.min(this.e, paramInt);
  }
  
  int s()
  {
    return this.e;
  }
  
  void e(e parame)
  {
    this.j.b(parame);
  }
  
  z t()
  {
    return this.k;
  }
  
  e u()
  {
    return (e)this.j.d();
  }
  
  void g(e parame)
  {
    this.k.b(parame);
  }
  
  int v()
  {
    if (!c.i) {
      if (this.k.isEmpty()) {
        return -1;
      }
    }
    return ((e)this.k.d()).d().j();
  }
  
  int w()
  {
    if (!c.i) {
      if (this.k.isEmpty()) {
        return 2147483647;
      }
    }
    return ((e)this.k.a()).d().j();
  }
  
  e x()
  {
    if (!c.i) {
      if (this.k.isEmpty()) {
        return null;
      }
    }
    e locale = (e)this.k.e();
    return locale;
  }
  
  e y()
  {
    if (!c.i) {
      if (this.k.isEmpty()) {
        return null;
      }
    }
    return (e)this.k.d();
  }
  
  boolean e(int paramInt)
  {
    boolean bool = c.i;
    if (!bool) {
      if (this.d >= paramInt)
      {
        if ((!bool) && (this.f.g() == null)) {
          break label52;
        }
        if (bool) {
          break label49;
        }
      }
    }
    label49:
    label52:
    return this.f.g().b(paramInt);
  }
  
  boolean d(j paramj)
  {
    return this.f.g() == paramj;
  }
  
  boolean f(int paramInt)
  {
    boolean bool = c.i;
    if ((bool) || (this.f.h() != null)) {
      if (bool) {}
    }
    return this.f.h().d(paramInt);
  }
  
  boolean g(int paramInt)
  {
    boolean bool = c.i;
    if (!bool) {
      if (!f(paramInt)) {
        if (bool) {
          break label29;
        }
      }
    }
    label29:
    return v() == paramInt;
  }
  
  boolean h(int paramInt)
  {
    boolean bool = c.i;
    if ((bool) || (!g(paramInt))) {
      if (bool) {}
    }
    return !e(paramInt);
  }
  
  void a(d paramd)
  {
    if (!c.i) {
      if (this.l == null) {
        this.l = new z();
      }
    }
    this.l.add(paramd);
  }
  
  z z()
  {
    return this.l;
  }
  
  void a(z paramz)
  {
    this.l = paramz;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.j.a.k

 * JD-Core Version:    0.7.0.1

 */